import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import apifun from '@/utils/api.js'

// 引入全局TuniaoUI
import TuniaoUI from 'tuniao-ui'
Vue.use(TuniaoUI)

import store from './store'
// 引入TuniaoUI提供的vuex简写方法
let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)

import MescrollBody from '@/uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.vue'
Vue.component('mescroll-body',MescrollBody)

Vue.config.productionTip = false
Vue.prototype.apifun = apifun.publicFunction
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif


